package com.yks.pls.pdf;


import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.Statement;

public class ClickDemo {
    public static void main(String[] args) throws Exception {
        Class.forName("com.github.housepower.jdbc.ClickHouseDriver");
        Connection connection = DriverManager.getConnection("jdbc:clickhouse://192.168.14.2:9000");

        Statement statement = connection.createStatement();
        statement.executeQuery("create table default.jdbc_example(day Date, name String, age UInt8) Engine=Log");
    }
}
